<div class="layui-form-item">
    <label class="layui-form-label required">富文本</label>
    <div class="layui-input-block">
        <textarea id="html" name="html" rows="20" class="layui-textarea editor"
                  placeholder="请输入内容">@if(isset($data) && ($data->type == 'html' || $data->type == '')){{$data->content ?? ''}}@endif</textarea>
    </div>
</div>
